package com.yunyi.web.controller.phy;

import com.yunyi.common.core.domain.AjaxResult;
import com.yunyi.common.core.domain.entity.SysDoctorinfo;
import com.yunyi.system.service.SysDoctorinfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class SysDoctorinfoController {

    @Autowired
    private SysDoctorinfoService sysDoctorinfoService;

    @RequestMapping("/sys/doctorinfo/list")
    public AjaxResult getList(){
        return AjaxResult.success(sysDoctorinfoService.list());
    }

}
